package com.ktjy.service;

import com.ktjy.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierServlet {

    //查询供货商全部信息
    List<Supplier> selectList();

    List<Supplier> selectPageList(String supCode, String supName, Integer pageNO, Integer pageSeiz);

    int count(String supCode, String supName);

    Supplier selectById(Integer id);

    int insert(Supplier supplier);

    int update(Supplier supplier);

    int delete(Integer id);
}
